<!-- File: /app/View/Especialidades/add.ctp -->
            
<?php 
    $this->html->addCrumb(
        $this->Html->tag("i", "", array("class" => "fa fa-file")) . " Especialidades",
        '/Especialidades',
        array("escape" => false)
    );
    $this->html->addCrumb(
        $this->Html->tag("i", "", array("class" => "fa fa-plus")) . " Editar Especialidad",
        '/Especialidades/edit',
        array("escape" => false)
    );
?>
   
<h1>Agregar Especialidad<small> Registra una nueva</small></h1>

<?php
    echo $this->Form->create("Especialidad", array("class" => "form-horizontal"));
    echo $this->Form->input("descripcion", array(
        "label" => array(
            "text" => "Descripción",
            "class" => "col-sm-2 control-label"
        ),
        "class" => "col-sm-6",
        "div" => "form-group form-group-lg"
    ));
    echo $this->Form->input("Campos_id", array(
        "label" => array(
            "text" => "Campo",
            "class" => "col-sm-2 control-label"
        ),
        "class" => "col-sm-6",
        "div" => "form-group form-group-lg",
        "options" => $campos
    ));
    echo $this->Form->button($this->Html->tag("span", "", array("class" => "glyphicon glyphicon-ok")) . " Registrar", array("class" => "btn btn-default"));
    echo $this->Form->end();
    echo $this->Html->link("Regresar a la lista de Especialidades", array("controller" => "Admin", "action" => "Especialidades"));
?>
